function GetNewMoul(A,C,B,F,E,D){new Ajax.Updater(A,"ajax/ajax_functions.php?action="+B+"&modul="+C+"&suffix="+E+"&nodeID="+D,{method:"get",insertion:Insertion.After,evalScripts:true})
}function show_that(A){document.getElementById(A).style.display="block"
}function hide_that(A){document.getElementById(A).style.display="none"
}
function moveElementUpforList(F,D){Sortable.create(F,{dropOnEmpty:true,containment:[F],constraint:false,onChange:function(){}});
var G=Sortable.sequence(F);
var C=[];
var E=false;
if(G.length>1){for(var B=0;
B<G.length;
B++){alert("bum->"+G[B]);
if(B>0&&G[B].length>0&&G[B]==D){alert("drinne"+D);
var A=C[B-1];
C[B-1]=D;
C[B]=A;
E=true
}else{C[B]=G[B]
}}}if(E){Sortable.setSequence(F,C)
}return E
}function show_that(A){document.getElementById(A).style.display="block"
}function hide_that(A){document.getElementById(A).style.display="none"
}function GetModul(A){if(A!="x"&&A!=""){Effect.toggle(A,"appear");
return false
}}function removeElement(C,B){var A=document.getElementById(C);
if(B!=""){tinyMCE.execCommand("mceRemoveControl",false,B)
}if(typeof A=="object"){A.parentNode.removeChild(A)
}};